<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>QTabBar Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">QTabBar Class Reference</h1>
<h3 align="center">[<a href="qt_widgets.html">qt.widgets</a> package]</h3>
<p>Inherits <a href="qwidget.html">QWidget</a>.</p>
<h3>Constructor</h3>
<ul>
<li><div class="fn"/><b>void QTabBar(QWidget parent)</b></li>
</ul>
<h3>Constructor Properties</h3>
<ul>
<li><b>prototype</b>: The QTabBar prototype object</li>
<li><b>RoundedNorth</b></li>
<li><b>RoundedSouth</b></li>
<li><b>RoundedWest</b></li>
<li><b>RoundedEast</b></li>
<li><b>TriangularNorth</b></li>
<li><b>TriangularSouth</b></li>
<li><b>TriangularWest</b></li>
<li><b>TriangularEast</b></li>
<li><b>Shape( value )</b></li>
<li><b>SelectLeftTab</b></li>
<li><b>SelectRightTab</b></li>
<li><b>SelectPreviousTab</b></li>
<li><b>SelectionBehavior( value )</b></li>
</ul>
<h3>Prototype Object Properties</h3>
<p>The QTabBar prototype object inherits properties from the <a href="qwidget.html">QWidget</a> prototype object and also has the following properties.</p>
<ul>
<li><div class="fn"/><b>int addTab(QIcon icon, String text)</b></li>
<li><div class="fn"/><b>int insertTab(int index, QIcon icon, String text)</b></li>
<li><div class="fn"/><b>bool isTabEnabled(int index)</b></li>
<li><div class="fn"/><b>QSize minimumSizeHint()</b></li>
<li><div class="fn"/><b>void moveTab(int from, int to)</b></li>
<li><div class="fn"/><b>void removeTab(int index)</b></li>
<li><div class="fn"/><b>void setTabButton(int index, ButtonPosition position, QWidget widget)</b></li>
<li><div class="fn"/><b>void setTabData(int index, Object data)</b></li>
<li><div class="fn"/><b>void setTabEnabled(int index, bool arg__2)</b></li>
<li><div class="fn"/><b>void setTabIcon(int index, QIcon icon)</b></li>
<li><div class="fn"/><b>void setTabText(int index, String text)</b></li>
<li><div class="fn"/><b>void setTabTextColor(int index, QColor color)</b></li>
<li><div class="fn"/><b>void setTabToolTip(int index, String tip)</b></li>
<li><div class="fn"/><b>void setTabWhatsThis(int index, String text)</b></li>
<li><div class="fn"/><b>QSize sizeHint()</b></li>
<li><div class="fn"/><b>int tabAt(QPoint pos)</b></li>
<li><div class="fn"/><b>QWidget tabButton(int index, ButtonPosition position)</b></li>
<li><div class="fn"/><b>Object tabData(int index)</b></li>
<li><div class="fn"/><b>QIcon tabIcon(int index)</b></li>
<li><div class="fn"/><b>QRect tabRect(int index)</b></li>
<li><div class="fn"/><b>String tabText(int index)</b></li>
<li><div class="fn"/><b>QColor tabTextColor(int index)</b></li>
<li><div class="fn"/><b>String tabToolTip(int index)</b></li>
<li><div class="fn"/><b>String tabWhatsThis(int index)</b></li>
</ul>
<h3>Instance Properties</h3>
<p>QTabBar objects inherit properties from the QTabBar prototype object and also have the following properties.</p>
<ul>
<li><div class="fn"/><b>shape</b></li>
<li><div class="fn"/><b>currentIndex</b></li>
<li><div class="fn"/><b>count</b></li>
<li><div class="fn"/><b>drawBase</b></li>
<li><div class="fn"/><b>iconSize</b></li>
<li><div class="fn"/><b>elideMode</b></li>
<li><div class="fn"/><b>usesScrollButtons</b></li>
<li><div class="fn"/><b>tabsClosable</b></li>
<li><div class="fn"/><b>selectionBehaviorOnRemove</b></li>
<li><div class="fn"/><b>expanding</b></li>
<li><div class="fn"/><b>movable</b></li>
<li><div class="fn"/><b>documentMode</b></li>
<li><div class="fn"/><b>autoHide</b></li>
<li><div class="fn"/><b>changeCurrentOnDrag</b></li>
</ul>
</body>
</html>
